package ltd.bugs.cute.access.model;

import java.io.Serializable;

import org.apache.ibatis.type.Alias;

/**
 * ip访问限制表
 * 
 * @author zhengzhq
 *
 */
@Alias("IpAccess")
public class IpAccess implements Serializable {

  private static final long serialVersionUID = 6750942978230491953L;

  // 主键
  private long id;
  // 资源id，具体为访问的客户端id，比如orgId
  private long clientId;
  // IP地址
  private String ip;

  public long getId() {
    return id;
  }

  public void setId(long id) {
    this.id = id;
  }

  public long getClientId() {
    return clientId;
  }

  public void setClientId(long clientId) {
    this.clientId = clientId;
  }

  public String getIp() {
    return ip;
  }

  public void setIp(String ip) {
    this.ip = ip;
  }
}
